home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / Xt / XtAddGrab.z / XtAddGrab
Encoding:
Text File  |  1998-10-30  |  4.3 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXttttAAAAddddddddGGGGrrrraaaabbbb((((3333XXXXtttt))))     XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))      XXXXttttAAAAddddddddGGGGrrrraaaabbbb((((3333XXXXtttt))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XtAddGrab, XtRemoveGrab - redirect user input to a modal
  10.           widget
  11.  
  12.      SSSSYYYYNNNNTTTTAAAAXXXX
  13.           void XtAddGrab(_w, _e_x_c_l_u_s_i_v_e, _s_p_r_i_n_g__l_o_a_d_e_d)
  14.                 Widget _w;
  15.                 Boolean _e_x_c_l_u_s_i_v_e;
  16.                 Boolean _s_p_r_i_n_g__l_o_a_d_e_d;
  17.  
  18.           void XtRemoveGrab(_w)
  19.                 Widget _w;
  20.  
  21.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  22.           _e_x_c_l_u_s_i_v_e Specifies whether user events should be dispatched
  23.                     exclusively to this widget or also to previous
  24.                     widgets in the cascade.
  25.  
  26.           _s_p_r_i_n_g__l_o_a_d_e_d
  27.                     Specifies whether this widget was popped up
  28.                     because the user pressed a pointer button.
  29.  
  30.           _w         Specifies the widget to add to or remove from the
  31.                     modal cascade.
  32.  
  33.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  34.           The _X_t_A_d_d_G_r_a_b function appends the widget (and associated
  35.           parameters) to the modal cascade and checks that exclusive
  36.           is _T_r_u_e if spring_loaded is _T_r_u_e.  If these are not _T_r_u_e,
  37.           _X_t_A_d_d_G_r_a_b generates an error.
  38.  
  39.           The modal cascade is used by _X_t_D_i_s_p_a_t_c_h_E_v_e_n_t when it tries
  40.           to dispatch a user event.  When at least one modal widget is
  41.           in the widget cascade, _X_t_D_i_s_p_a_t_c_h_E_v_e_n_t first determines if
  42.           the event should be delivered.  It starts at the most recent
  43.           cascade entry and follows the cascade up to and including
  44.           the most recent cascade entry added with the exclusive
  45.           parameter _T_r_u_e.
  46.  
  47.           This subset of the modal cascade along with all descendants
  48.           of these widgets comprise the active subset.  User events
  49.           that occur outside the widgets in this subset are ignored or
  50.           remapped.  Modal menus with submenus generally add a submenu
  51.           widget to the cascade with exclusive _F_a_l_s_e.  Modal dialog
  52.           boxes that need to restrict user input to the most deeply
  53.           nested dialog box add a subdialog widget to the cascade with
  54.           exclusive _T_r_u_e.  User events that occur within the active
  55.           subset are delivered to the appropriate widget, which is
  56.           usually a child or further descendant of the modal widget.
  57.  
  58.           Regardless of where on the screen they occur, remap events
  59.           are always delivered to the most recent widget in the active
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXttttAAAAddddddddGGGGrrrraaaabbbb((((3333XXXXtttt))))     XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))      XXXXttttAAAAddddddddGGGGrrrraaaabbbb((((3333XXXXtttt))))
  71.  
  72.  
  73.  
  74.           subset of the cascade that has spring_loaded _T_r_u_e, if any
  75.           such widget exists.
  76.  
  77.           The _X_t_R_e_m_o_v_e_G_r_a_b function removes widgets from the modal
  78.           cascade starting at the most recent widget up to and
  79.           including the specified widget.  It issues an error if the
  80.           specified widget is not on the modal cascade.
  81.  
  82.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  83.           _X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s - _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
  84.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.